package com.ruoyi.zsyh.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 产品规格管理对象 zsyh_platform_partsattribute
 * 
 * @author yuexl
 * @date 2021-12-10
 */
public class ZsyhPlatformPartsattribute extends BaseEntity implements Cloneable
{
    private static final long serialVersionUID = 1L;

    private static ZsyhPlatformPartsattribute rel = new ZsyhPlatformPartsattribute();

    public static ZsyhPlatformPartsattribute getInstance(){
        try{
            return (ZsyhPlatformPartsattribute) rel.clone();
        }catch (CloneNotSupportedException e){
            e.printStackTrace();
        }
        return new ZsyhPlatformPartsattribute();
    }

    /** 产品属性 */
    private String id;

    /** 属性名称 */
    @Excel(name = "属性名称")
    private String attributeName;

    /** 排序 排序数字越大，排序约靠前 */
    @Excel(name = "排序 排序数字越大，排序约靠前")
    private Long attributeSort;

    /** 合同价 */
    @Excel(name = "合同价")
    private BigDecimal attributeContractPrice;

    /** 销售价 */
    @Excel(name = "销售价")
    private BigDecimal attributeSalePrice;

    /** 补助金有效期/质保期单位：月 （安装之后几个月之内可以申请补助金） */
    @Excel(name = "补助金有效期/质保期单位：月 ", readConverterExp = "安=装之后几个月之内可以申请补助金")
    private String attributeWarranty;

    /** 二维码有效期 单位：月（出厂日期几个月内可以扫码安装） */
    @Excel(name = "二维码有效期 单位：月", readConverterExp = "出=厂日期几个月内可以扫码安装")
    private String attributeInstall;

    /** 质保期内损坏 赔付金额 */
    @Excel(name = "质保期内损坏 赔付金额")
    private BigDecimal attributePayPrice;

    /** 配件id */
    @Excel(name = "配件id")
    private String partsId;

    /** 订购最低数量 */
    @Excel(name = "订购最低数量")
    private Long attributeQuantity;

    /** 质保期单位：月 产品质保期（安装之后几个月之内享受产品质保） */
    @Excel(name = "质保期单位：月 产品质保期", readConverterExp = "安=装之后几个月之内享受产品质保")
    private String attributeFreeWarranty;

    /** 最低批发价 */
    @Excel(name = "最低批发价")
    private String attributeLowestPrice;

    /** 属性备注 */
    @Excel(name = "属性备注")
    private String attributeRemarks;

    /** 属性logo */
    @Excel(name = "属性logo")
    private String attributeLogo;

    /** 省级展示 1是 0否 */
    @Excel(name = "省级展示 1是 0否")
    private String isShowProvice;

    /** 市县级展示 1是 0否 */
    @Excel(name = "市县级展示 1是 0否")
    private String isShowCity;

    /** 师傅端展示 1是 0否 */
    @Excel(name = "师傅端展示 1是 0否")
    private String isShowWorker;

    /** 是否包邮 1包邮 （偏远地区补齐差价） 2不包邮 */
    @Excel(name = "是否包邮 1包邮 ", readConverterExp = "偏=远地区补齐差价")
    private String isPost;

    private String isPostName;

    /** 统一零售价 */
    @Excel(name = "统一零售价")
    private BigDecimal attributeRetailPrice;

    /** 统一批发价 */
    @Excel(name = "统一批发价")
    private BigDecimal attributeWholesalePrice;

    /** 产品优势描述 */
    @Excel(name = "产品优势描述")
    private String attributeAdvantage;

    /** 产品使用说明书 */
    @Excel(name = "产品使用说明书")
    private String attributeInstructions;

    private String partsUnit;

    private String partsName;

    private String partsNumber;

    //预定数量，小程序用
    private String count;

    private String factoryName;

    private String attributeDistinguish;

    private String factoryId;

    private String applyNum;

    //店铺显示的规格描述
    private String attributeStoreRemarks;

    private String operateType;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setAttributeName(String attributeName) 
    {
        this.attributeName = attributeName;
    }

    public String getAttributeName() 
    {
        return attributeName;
    }

    public void setAttributeContractPrice(BigDecimal attributeContractPrice) 
    {
        this.attributeContractPrice = attributeContractPrice;
    }

    public BigDecimal getAttributeContractPrice() 
    {
        return attributeContractPrice;
    }
    public void setAttributeSalePrice(BigDecimal attributeSalePrice) 
    {
        this.attributeSalePrice = attributeSalePrice;
    }

    public BigDecimal getAttributeSalePrice() 
    {
        return attributeSalePrice;
    }
    public void setAttributeWarranty(String attributeWarranty) 
    {
        this.attributeWarranty = attributeWarranty;
    }

    public String getAttributeWarranty() 
    {
        return attributeWarranty;
    }
    public void setAttributeInstall(String attributeInstall) 
    {
        this.attributeInstall = attributeInstall;
    }

    public String getAttributeInstall() 
    {
        return attributeInstall;
    }
    public void setAttributePayPrice(BigDecimal attributePayPrice) 
    {
        this.attributePayPrice = attributePayPrice;
    }

    public BigDecimal getAttributePayPrice() 
    {
        return attributePayPrice;
    }
    public void setPartsId(String partsId) 
    {
        this.partsId = partsId;
    }

    public String getPartsId() 
    {
        return partsId;
    }
    public void setAttributeQuantity(Long attributeQuantity) 
    {
        this.attributeQuantity = attributeQuantity;
    }

    public Long getAttributeQuantity() 
    {
        return attributeQuantity;
    }
    public void setAttributeFreeWarranty(String attributeFreeWarranty) 
    {
        this.attributeFreeWarranty = attributeFreeWarranty;
    }

    public String getAttributeFreeWarranty() 
    {
        return attributeFreeWarranty;
    }
    public void setAttributeLowestPrice(String attributeLowestPrice) 
    {
        this.attributeLowestPrice = attributeLowestPrice;
    }

    public String getAttributeLowestPrice() 
    {
        return attributeLowestPrice;
    }
    public void setAttributeRemarks(String attributeRemarks) 
    {
        this.attributeRemarks = attributeRemarks;
    }

    public String getAttributeRemarks() 
    {
        return attributeRemarks;
    }
    public void setAttributeLogo(String attributeLogo) 
    {
        this.attributeLogo = attributeLogo;
    }

    public String getAttributeLogo() 
    {
        return attributeLogo;
    }
    public void setIsShowProvice(String isShowProvice) 
    {
        this.isShowProvice = isShowProvice;
    }

    public String getIsShowProvice() 
    {
        return isShowProvice;
    }
    public void setIsShowCity(String isShowCity) 
    {
        this.isShowCity = isShowCity;
    }

    public String getIsShowCity() 
    {
        return isShowCity;
    }
    public void setIsShowWorker(String isShowWorker) 
    {
        this.isShowWorker = isShowWorker;
    }

    public String getIsShowWorker() 
    {
        return isShowWorker;
    }
    public void setIsPost(String isPost) 
    {
        this.isPost = isPost;
    }

    public String getIsPost() 
    {
        return isPost;
    }

    public BigDecimal getAttributeRetailPrice() {
        return attributeRetailPrice;
    }

    public void setAttributeRetailPrice(BigDecimal attributeRetailPrice) {
        this.attributeRetailPrice = attributeRetailPrice;
    }

    public BigDecimal getAttributeWholesalePrice() {
        return attributeWholesalePrice;
    }

    public void setAttributeWholesalePrice(BigDecimal attributeWholesalePrice) {
        this.attributeWholesalePrice = attributeWholesalePrice;
    }

    public void setAttributeAdvantage(String attributeAdvantage)
    {
        this.attributeAdvantage = attributeAdvantage;
    }

    public String getAttributeAdvantage() 
    {
        return attributeAdvantage;
    }
    public void setAttributeInstructions(String attributeInstructions) 
    {
        this.attributeInstructions = attributeInstructions;
    }

    public String getAttributeInstructions() 
    {
        return attributeInstructions;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("attributeName", getAttributeName())
            .append("updateTime", getUpdateTime())
            .append("createTime", getCreateTime())
            .append("attributeSort", getAttributeSort())
            .append("attributeContractPrice", getAttributeContractPrice())
            .append("attributeSalePrice", getAttributeSalePrice())
            .append("attributeWarranty", getAttributeWarranty())
            .append("attributeInstall", getAttributeInstall())
            .append("attributePayPrice", getAttributePayPrice())
            .append("partsId", getPartsId())
            .append("attributeQuantity", getAttributeQuantity())
            .append("attributeFreeWarranty", getAttributeFreeWarranty())
            .append("attributeLowestPrice", getAttributeLowestPrice())
            .append("attributeRemarks", getAttributeRemarks())
            .append("attributeLogo", getAttributeLogo())
            .append("isShowProvice", getIsShowProvice())
            .append("isShowCity", getIsShowCity())
            .append("isShowWorker", getIsShowWorker())
            .append("isPost", getIsPost())
            .append("attributeRetailPrice", getAttributeRetailPrice())
            .append("attributeWholesalePrice", getAttributeWholesalePrice())
            .append("attributeAdvantage", getAttributeAdvantage())
            .append("attributeInstructions", getAttributeInstructions())
            .toString();
    }

    public Long getAttributeSort() {
        return attributeSort;
    }

    public void setAttributeSort(Long attributeSort) {
        this.attributeSort = attributeSort;
    }

    public String getPartsUnit() {
        return partsUnit;
    }

    public void setPartsUnit(String partsUnit) {
        this.partsUnit = partsUnit;
    }

    public String getCount() {
        return count;
    }

    public void setCount(String count) {
        this.count = count;
    }

    public String getIsPostName() {
        return isPostName;
    }

    public void setIsPostName(String isPostName) {
        this.isPostName = isPostName;
    }

    public String getFactoryName() {
        return factoryName;
    }

    public void setFactoryName(String factoryName) {
        this.factoryName = factoryName;
    }

    public String getAttributeDistinguish() {
        return attributeDistinguish;
    }

    public void setAttributeDistinguish(String attributeDistinguish) {
        this.attributeDistinguish = attributeDistinguish;
    }

    public String getFactoryId() {
        return factoryId;
    }

    public void setFactoryId(String factoryId) {
        this.factoryId = factoryId;
    }

    public String getPartsName() {
        return partsName;
    }

    public void setPartsName(String partsName) {
        this.partsName = partsName;
    }

    public String getPartsNumber() {
        return partsNumber;
    }

    public void setPartsNumber(String partsNumber) {
        this.partsNumber = partsNumber;
    }

    public String getApplyNum() {
        return applyNum;
    }

    public void setApplyNum(String applyNum) {
        this.applyNum = applyNum;
    }

    public String getAttributeStoreRemarks() {
        return attributeStoreRemarks;
    }

    public void setAttributeStoreRemarks(String attributeStoreRemarks) {
        this.attributeStoreRemarks = attributeStoreRemarks;
    }

    public String getOperateType() {
        return operateType;
    }

    public void setOperateType(String operateType) {
        this.operateType = operateType;
    }
}
